package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.AdminBoardDTO;
import com.jhs.kjs.dto.AdminBoardPagingDTO;
import com.jhs.kjs.dto.ProviderDTO;
import com.jhs.kjs.service.IAdminBoardService;
import com.jhs.kjs.service.dao.IAdminBoardMapper;

public class AdminBoardServiceImpl implements IAdminBoardService{

	private IAdminBoardMapper mapper;

	public void setMapper(IAdminBoardMapper mapper) {
		this.mapper = mapper;
	}

	@Override
	public List<AdminBoardPagingDTO> getAdminBoardList(AdminBoardPagingDTO param) {
		return mapper.getAdminBoardList(param);
	}
	
	@Override
	public AdminBoardPagingDTO getAdminBoardCount(AdminBoardPagingDTO param) {
		return mapper.getAdminBoardCount(param);
	}
	
	@Override
	public int registBoard(AdminBoardPagingDTO param) {
		return mapper.registBoard(param);
	}
	@Override
	public AdminBoardPagingDTO getAdminBoardView(Map<String, Long> param) {
		return mapper.getAdminBoardView(param);
	}
	
	@Override
	public AdminBoardPagingDTO getPrevBoardView(Map<String, Long> param) {
		return mapper.getPrevBoardView(param);
	}
	
	@Override
	public AdminBoardPagingDTO getNextBoardView(Map<String, Long> param) {
		return mapper.getNextBoardView(param);
	}
	
	@Override
	public int updateViewCnt(Map<String, Long> param) {
		return mapper.updateViewCnt(param);
	}
	
	@Override
	public int deleteBoard(Map<String, Long> param) {
		int result = 0;
		result = mapper.deleteBoard(param);
		return result;
	}
	
	@Override
	public int updateBoard(AdminBoardPagingDTO param) {
		return mapper.updateBoard(param);
	}
	
	@Override
	public List<AdminBoardPagingDTO> getAdminBoardListMain(Map<String, Integer> param) {
		return mapper.getAdminBoardListMain(param);
	}
	
	@Override
	public int updateSumPoint(Map<String, Long> param) {
		return mapper.updateSumPoint(param);
	}
	
	@Override
	public void insertProviderInfo(Map<String, Object> param) {		
		mapper.insertProviderInfo(param);
	}
	
	@Override
	public int getBoardSeq() {		
		return mapper.getBoardSeq();
	}
	
	@Override
	public List<ProviderDTO> getProvider(Map<String, Long> param) {		
		return mapper.getProvider(param);
	}
	
	@Override
	public int deleteProvider(Map<String, Long> param) {
		return mapper.deleteProvider(param);
	}
	
	@Override
	public List<AdminBoardPagingDTO> getEbsBoardList(AdminBoardPagingDTO param) {
		return mapper.getEbsBoardList(param);
	}
	/*@Override
	public List<AdminBoardPagingDTO> getQnaBoardList(AdminBoardPagingDTO param) {
		return mapper.getQnaBoardList(param);
	}
	
	@Override
	public AdminBoardPagingDTO getQnaBoardCount(AdminBoardPagingDTO param) {
		return mapper.getQnaBoardCount(param);
	}
	
	@Override
	public AdminBoardPagingDTO getQnaPrevBoardView(AdminBoardPagingDTO param) {
		return mapper.getQnaPrevBoardView(param);
	}
	
	@Override
	public AdminBoardPagingDTO getQnaNextBoardView(AdminBoardPagingDTO param) {
		return mapper.getQnaNextBoardView(param);
	}
	
	@Override
	public int updateDownloadCnt(Map<String, Long> param) {
		return mapper.updateDownloadCnt(param);
	}
	
	@Override
	public List<AdminBoardPagingDTO> getHelpQnaBoardList(AdminBoardPagingDTO param) {
		return mapper.getHelpQnaBoardList(param);
	}
	
	@Override
	public AdminBoardPagingDTO getHelpQnaBoardCount(AdminBoardPagingDTO param) {
		return mapper.getHelpQnaBoardCount(param);
	}
	
	@Override
	public AdminBoardPagingDTO getHelpQnaPrevBoardView(Map<String, Long> param) {
		return mapper.getHelpQnaPrevBoardView(param);
	}
	
	@Override
	public AdminBoardPagingDTO getHelpQnaNextBoardView(Map<String, Long> param) {
		return mapper.getHelpQnaNextBoardView(param);
	}
	
	*/
}
